<!doctype html>
<html class="no-js" lang="zxx">
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>ShopZON美妆商城</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="apple-touch-icon" href="/static/img/apple-touch-icon.png">
    <link rel="apple-touch-icon" href="/static/img/icons.jpg">
    <link rel="shortcut icon" type="image/x-icon" href="/static/img/icon/favicon.ico">
    <!-- Place favicon.ico in the root directory -->


    <!-- all css here -->
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/css/font-awesome.min.css">
    <link rel="stylesheet" href="/static/css/elegant-font.css">
    <link rel="stylesheet" href="/static/css/material-design-iconic-font.min.css">
    <link rel="stylesheet" href="/static/css/meanmenu.min.css">
    <link rel="stylesheet" href="/static/css/animate.css">
    <link rel="stylesheet" href="/static/css/owl.carousel.min.css">
    <link rel="stylesheet" href="/static/css/magnific-popup.css">
    <link rel="stylesheet" href="/static/css/animate-heading.css">
    <link rel="stylesheet" href="/static/css/owl.theme.default.min.css">
    <link rel="stylesheet" href="/static/css/jquery-ui.css">
    <link rel="stylesheet" href="/static/css/shortcode/shortcodes.css">
    <link rel="stylesheet" href="/static/css/style.css">
    <link rel="stylesheet" href="/static/css/responsive.css">
    <script src="/static/js/vendor/modernizr-2.8.3.min.js"></script>

    <link rel="stylesheet" type="text/css" href="/static/css/xcConfirm.css"/>
    <script src="/static/js/vendor/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="/static/js/xcConfirm.js" type="text/javascript" charset="utf-8"></script>

</head>
<body class="other-page">

<!--[if lt IE 8]>
    <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- Header Area Start -->
<header>
    <!-- Header Menu Area -->
    <div class="menu-area mt-60">
        <div class="container">
            <div class="row">
                <div class="col-md-3 col-sm-12">
                    <div class="logo-area text-center text-uppercase">
                        <a href="index.html"><img src="static/img/icon/logo.png" alt=""/></a>
                    </div>
                </div>
                <div class="col-md-9 col-sm-12">
                    <div class="main-menu lemon-bg">
                        <nav>
                            <ul id="nav">
                                <li><a href="${HOMEURL}">主页</a></li>
                                <li><a href="#">分类</a>
                                    <ul>
                                        <li><a href="${HOMEURL}/sort?name=本月推荐"><i class="arrow_carrot-right"></i> 本月推荐</a>
                                        </li>
                                        <li><a href="${HOMEURL}/sort?name=本月特价"><i class="arrow_carrot-right"></i> 本月特价</a>
                                        </li>
                                        <li><a href="${HOMEURL}/sort?name=新品上市"><i class="arrow_carrot-right"></i> 新品上市</a>
                                        </li>
                                        <li><a href="${HOMEURL}/sort?name=最佳销售"><i class="arrow_carrot-right"></i> 最佳销售</a>
                                        </li>
                                    </ul>
                                </li>
                                <li><a href="${SSOURL}/user/info">个人中心</a></li>
                            </ul>
                        </nav>

                        <!-- Product Cart -->
                        <div class="menu-right-area">
                            <a href="#" class="mini-cart-icon">
                                <i class="icon_cart_alt"></i>
                                <span>${homeCartItems.~size}</span>
                            </a>
                            <div class="top-cart-content">
                                <%for(homeCartItem in homeCartItems){%>
                                <!-- Cart Single -->
                                <div class="media header-middle-checkout">
                                    <div class="media-left check-img">
                                        <a href="#">
                                            <img alt="" src="${homeCartItem.image}"
                                                 style="max-width:100px;max-height:100px;">
                                        </a>
                                    </div>
                                    <div class="media-body checkout-content">
                                        <h4 class="media-heading">
                                            <a href="#">${homeCartItem.title}</a>
                                            <span title="Remove This Item" class="btn-remove checkout-remove">
														<i class="fa fa-trash"></i>
													</span>
                                        </h4>
                                        <p>${homeCartItem.num} x ￥${homeCartItem.price}</p>
                                    </div>
                                </div>
                                <!-- Cart Single -->
                                <%}%>
                                <div class="actions">
                                    <button type="button" title="Checkout-botton" class="Checkout-botton"
                                            onclick="showCart()">
                                        <span>浏览购物袋</span>
                                    </button>
                                </div>
                            </div>
                            <script>
                                function showCart() {
                                    window.location.href = "${CAERTURL}/cart";
                                }
                            </script>

                        </div>
                        <!-- Product Cart -->


                    </div>
                    <input id="search" value="" style="color:#fff" placeholder="点此搜索"/>

                </div>
            </div>
        </div>
    </div>
    <!-- Header Menu Area -->
    <!-- Header Slider Area -->

    <div class="slider-area">

        <div class="bend niceties preview">
            <div id="ensign-nivoslider" class="slides">
                <%for(content in homeContent){%>
                <img src="${content.pic!''}" alt="" title="#slider-direction-1"/>
                <%}%>
            </div>

            <!-- direction 1 -->
            <div id="slider-direction-1" class="slider-direction">
                <div class="slider-content text-center s-tb slider-1">
                    <div class="title-container s-tb-c title-compress">

                        <h2 class="title2">
                            <span class="icon-left" data-icon="&#x7b;"></span>

                            <span class="icon-right" data-icon="&#x7b;"></span>
                        </h2>
                        <h1 class="title1">2020 collections</h1>
                        <div class="slider-btn text-uppercase">
                            <!--									<a href="#">View All <span class="icon-left" data-icon="&#x24;"></span></a>-->
                        </div>
                        <!-- Icon Left -->
                        <div class="social-icon-left">
                            <ul>
                                <li><a href="#" class="social_facebook"></a></li>
                                <li><a href="#" class="social_googleplus"></a></li>
                                <li><a href="#" class="social_twitter"></a></li>
                            </ul>
                        </div>
                        <!-- Icon Left -->
                        <!-- Icon Right -->
                        <div class="social-icon-right">
                            <ul>
                                <li><a href="#" class="icon_refresh"></a></li>
                                <li><a href="#" class="icon_heart_alt"></a></li>
                                <li><a href="#" class=" icon_search"></a></li>
                            </ul>
                        </div>
                        <!-- Icon Right -->
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Header Slider Area -->
    <!-- MOBILE-MENU-AREA START -->
    <div class="mobile-menu-area">
        <div class="container">
            <div class="row">
                <div class="col-md-12 col-sm-12">
                    <div class="mobile-area">
                        <div class="mobile-menu">
                            <nav id="mobile-nav">
                                <ul>
                                    <li><a href="index.html">主页 </a>
                                        <ul>
                                            <li><a href="index.html">Home Two</a></li>
                                            <li><a href="index-3.html">Home Three</a></li>
                                            <li><a href="index-4.html">Home Four</a></li>
                                        </ul>
                                    </li>
                                    <li><a href="about.html"> 关于我们 </a></li>
                                    <li><a href="shop.html">商店</a>
                                        <ul>
                                            <li><a href="shop.html">Shop</a></li>
                                            <li><a href="shop-grid.html"> Shop Grid</a></li>
                                            <li><a href="shop-list.html"> Shop List</a></li>
                                            <li><a href="single-product.html">Single Product</a></li>
                                        </ul>
                                    </li>
                                    <li><a href="blog.html">博客</a></li>
                                    <li><a href="blog-details.html">Blog Details</a></li>
                                    <li><a href="#">PAGES</a>
                                        <ul>
                                            <li><a href="checkout.html">Checkout</a></li>
                                            <li><a href="cart.html">Cart</a></li>
                                            <li><a href="account.html">Account</a></li>
                                            <li><a href="wishlist.html">Wishlist</a></li>
                                            <li><a href="blog-details.html">Blog</a></li>
                                            <li><a href="login.html">Login</a></li>
                                        </ul>
                                    </li>
                                    <li><a href="portfolio.html">Portfolio</a></li>
                                    <li><a href="404.html">404 Error</a></li>
                                    <li><a href="contact.html">Contact</a></li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- MOBILE-MENU-AREA END  -->
</header>
<!-- Header Area End -->
<!-- Page Content Wraper Area Start -->
<section class="page-content-wrapper ptb-100">
    <!-- Single Product Top Info Start -->
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="breadcrumbs mb-40">
                    <ul>
                        <li class="home">
                            <a title="Go to Home Page" href="${HOMEURL}">主页</a>
                            <span class="arrow_carrot-right"></span>
                        </li>
                        <!-- <li class="home">
                            <a title="Go to Paroduct page" href="single-product.html">Single Product</a>
                            <span class="arrow_carrot-right"></span>
                        </li> -->
                        <li class="category3">
                            <span>产品详情</span>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-md-6">
                <div class="singlepro-left">
                    <div class="pro-img-tab-content tab-content">
                        <div class="tab-pane active" id="image-1">
                            <div class="simpleLens-big-image-container">
                                <a class="simpleLens-lens-image" data-lightbox="roadtrip"
                                   data-lens-image="${item.image}" href="${item.image}">
                                    <img src="${item.image}" alt="" class="simpleLens-big-image">
                                </a>
                            </div>
                        </div>
                        <div class="tab-pane" id="image-2">
                            <div class="simpleLens-big-image-container">
                                <a class="simpleLens-lens-image" data-lightbox="roadtrip"
                                   data-lens-image="img/single-product/2.jpg" href="img/single-product/2.jpg">
                                    <img src="img/single-product/2.jpg" alt="" class="simpleLens-big-image">
                                </a>
                            </div>
                        </div>
                        <div class="tab-pane" id="image-3">
                            <div class="simpleLens-big-image-container">
                                <a class="simpleLens-lens-image" data-lightbox="roadtrip"
                                   data-lens-image="img/single-product/3.jpg" href="img/single-product/3.jpg">
                                    <img src="img/single-product/3.jpg" alt="" class="simpleLens-big-image">
                                </a>
                            </div>
                        </div>
                        <div class="tab-pane" id="image-4">
                            <div class="simpleLens-big-image-container">
                                <a class="simpleLens-lens-image" data-lightbox="roadtrip"
                                   data-lens-image="img/single-product/4.jpg" href="img/single-product/4.jpg">
                                    <img src="img/single-product/4.jpg" alt="" class="simpleLens-big-image">
                                </a>
                            </div>
                        </div>
                        <div class="tab-pane" id="image-5">
                            <div class="simpleLens-big-image-container">
                                <a class="simpleLens-lens-image" data-lightbox="roadtrip"
                                   data-lens-image="img/single-product/5.jpg" href="img/single-product/2.jpg">
                                    <img src="img/single-product/5.jpg" alt="" class="simpleLens-big-image">
                                </a>
                            </div>
                        </div>
                        <div class="tab-pane" id="image-6">
                            <div class="simpleLens-big-image-container">
                                <a class="simpleLens-lens-image" data-lightbox="roadtrip"
                                   data-lens-image="img/single-product/1.jpg" href="img/single-product/4.jpg">
                                    <img src="img/single-product/1.jpg" alt="" class="simpleLens-big-image">
                                </a>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
            <input type="hidden" id="hidden_id" value="${item.id}"/>
            <div class="col-md-6">
                <div class="singlepro-right">
                    <div class="snglepro-content">
                        <span>今日产品</span>
                        <h3><a href="single-product.html">${item.title}</a></h3>
                        <div class="rating-box">
                            <i class="fa fa-star"></i>
                            <i class="fa fa-star"></i>
                            <i class="fa fa-star"></i>
                            <i class="fa fa-star"></i>
                            <i class="fa fa-star"></i>
                            <span>3 评论</span>
                        </div>
                        <div class="prce-stock">
                            <h4>￥ ${item.newPrice == null?item.price:item.newPrice}</h4>
                            <h6>有货</h6>
                        </div>
                        <p>${item.sellPoint}</p>
                        <div class="pro-info">
                            <ul>
                                <li>类别: ${item.cidName}</li>
                                <li> 标签: 化妆品</li>
                            </ul>
                        </div>
                        <div class="input-content mb-50">
                            <label>数量</label>
                            <div class="quantity">
                                <div class="cart-plus-minus">
                                    <input type="text" value="0" name="num" class="cart-plus-minus-box" id="itemNum">
                                </div>

                            </div>
                            <div class="cart-plus-minus-box">
                                <input type="button" id="addCart" name="addCart" value="加入购物袋" onclick="addCart()">
                            </div>
                            <br/>
                            <div class="cart-plus-minus-box">
                                <input type="button" id="payMoney" name="payMoney" value="立即购买" onclick="payMoney()">
                            </div>
                        </div>
                        <script>
                            function addCart() {
                                var num = $("#itemNum").val();
                                var id = $("#hidden_id").val();
                                if (num == 0) {
                                    return;
                                }
                                $.post("/addshopcart", {"id": id, "num": num}, function (data) {
                                    console.log(data);
                                    if (data == 200) {
                                        //console.log("弹窗");
                                        var txt = "宝贝已经装入袋子了~ ";
                                        window.wxc.xcConfirm(txt, window.wxc.xcConfirm.typeEnum.success);
                                    } else {
                                        var txt = "服务器错误 ";
                                        window.wxc.xcConfirm(txt, window.wxc.xcConfirm.typeEnum.error);
                                    }
                                });
                            }

                            function payMoney() {
                                var num = $("#itemNum").val();
                                if (num == 0) {
                                    return;
                                }
                                window.location.href = '${ORDERURL}/orderById?itemId=' + '${item.id}' + '&num=' + num;
                            }
                        </script>
                        <!-- <div class="sngle-pro-socl">
                            <ul>
                                <li><a href="#" class="social_facebook"></a></li>
                                <li><a href="#" class="social_googleplus"></a></li>
                                <li><a href="#" class="social_twitter"></a></li>
                            </ul>
                        </div> -->
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Single Product Top Info Start -->


    <!-- Fotter Area Start -->
    <footer>
        <!-- Footer Top Area End -->
        <div class="fotter-area dark-gray-bg ptb-100">
            <div class="container">
                <div class="row">
                    <div class="col-md-3 col-sm-4 col-xs-12">
                        <div class="address-area res-mb-sm-30">
                            <a href="index.html">shopzon</a>
                            <p>Lorem ipsum dolor sit amet, consemi cteta dipisi cing elit, sed do eiusmod tempor.</p>
                            <div class="contact-social mt-40">
                                <ul>
                                    <li>
                                        <a href="#" class="social_facebook "></a>
                                    </li>
                                    <li>
                                        <a href="#" class="social_twitter "></a>
                                    </li>
                                    <li>
                                        <a href="#" class="social_googleplus"></a>
                                    </li>
                                    <li>
                                        <a href="#" class="social_linkedin "></a>
                                    </li>
                                    <li>
                                        <a href="#" class="social_instagram "></a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-4 col-xs-12 xs-res-mrbtm">
                        <div class="footer-menu res-mb-sm-30">
                            <h4>MY ACCOUNT</h4>
                            <ul>
                                <li><a href="#">FAQs</a></li>
                                <li><a href="#">Payments</a></li>
                                <li><a href="#">Track Your Order</a></li>
                                <li><a href="#">Return Polcy</a></li>
                                <li><a href="#">Warranty</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-md-3 hidden-sm hidden-xs">
                        <div class="footer-menu">
                            <h4>SHOP GUIDE</h4>
                            <ul>
                                <li><a href="#">Hot Sale</a></li>
                                <li><a href="#">Best Sellar</a></li>
                                <li><a href="#">Suppliers</a></li>
                                <li><a href="#">Our Store</a></li>
                                <li><a href="#">Deal of The Day</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-md-3 col-sm-4 col-xs-12 xs-res-mrbtm">
                        <div class="footer-menu">
                            <h4>CONTACT INFO</h4>
                            <div class="contact-details">
                                <ul>
                                    <li>
                                        <span class="icon_pin"></span>
                                        <p>Lusmod tempor incididunt</p>
                                    </li>
                                    <li>
                                        <span class="icon_mail"></span>
                                        <p>Lusmod incidiunt wesbvu</p>
                                    </li>
                                    <li>
                                        <span class="icon_phone "></span>
                                        <p>(256) 987 654 321</p>
                                    </li>
                                    <li>
                                        <span class="icon_clock_alt"></span>
                                        <p>8.00 am-6.00 pm</p>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Footer Top Area End -->
        <!-- Footer Bottom Area Start -->
        <div class="footer-bottom-area black-bg">
            <div class="container">
                <div class="row ">
                    <div class="col-md-6 col-sm-6 col-xs-12">
                        <p>Copyright &copy; 2020.Company name All rights reserved.</p>
                    </div>
                    <div class="col-md-6 col-sm-6 col-xs-12">
                        <img src="img/icon/payment.png" alt=""/>
                    </div>
                </div>
            </div>
        </div>
        <!-- Footer Bottom Area End -->
    </footer>
    <!-- Fotter Area End -->

    <!--Quickview Product Start -->
    <div id="quickview-wrapper">
        <!-- Modal -->
        <div class="modal fade" id="productModal" tabindex="-1" role="dialog">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                aria-hidden="true">&times;</span></button>
                    </div>
                    <div class="modal-body">
                        <div class="modal-product">
                            <div class="product-images">
                                <div class="main-image images">
                                    <img alt="" src="img/other/quickview.jpg">
                                </div>
                            </div>
                            <div class="product-info">
                                <h1>Beauty Products</h1>
                                <div class="price-box">
                                    <p class="price"><span class="special-price"><span
                                            class="amount">$132.00</span></span></p>
                                </div>
                                <a href="product-details.html" class="see-all">See all features</a>
                                <div class="quick-add-to-cart">
                                    <form method="post" class="cart">
                                        <div class="numbers-row">
                                            <input type="number" id="french-hens" value="3">
                                        </div>
                                        <button class="single_add_to_cart_button" type="submit">Add to cart</button>
                                    </form>
                                </div>
                                <div class="quick-desc">
                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam fringilla augue nec est
                                    tristique auctor. Donec non est at libero vulputate rutrum. Morbi ornare lectus quis
                                    justo gravida semper. Nulla tellus mi, vulputate adipiscing cursus eu, suscipit id
                                    nulla.
                                </div>
                                <div class="social-sharing">
                                    <div class="widget widget_socialsharing_widget">
                                        <h3 class="widget-title-modal">Share this product</h3>
                                        <ul class="social-icons">
                                            <li>
                                                <a target="_blank" title="Facebook" href="#"
                                                   class="facebook social-icon"><i class="fa fa-facebook"></i></a>
                                            </li>
                                            <li>
                                                <a target="_blank" title="Twitter" href="#" class="twitter social-icon"><i
                                                        class="fa fa-twitter"></i></a>
                                            </li>
                                            <li>
                                                <a target="_blank" title="Pinterest" href="#"
                                                   class="pinterest social-icon"><i class="fa fa-pinterest"></i></a>
                                            </li>
                                            <li>
                                                <a target="_blank" title="Google +" href="#"
                                                   class="gplus social-icon"><i class="fa fa-google-plus"></i></a>
                                            </li>
                                            <li>
                                                <a target="_blank" title="LinkedIn" href="#"
                                                   class="linkedin social-icon"><i class="fa fa-linkedin"></i></a>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div><!-- .product-info -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--End of Quickview Product-->

    <!-- all js here -->
    <script src="/static/js/vendor/jquery-1.12.4.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
    <script src="/static/js/owl.carousel.min.js"></script>
    <script src="/static/js/isotope.pkgd.min.js"></script>
    <script src="/static/js/jquery.nivo.slider.js"></script>
    <script src="/static/js/price-slider.js"></script>
    <script src="/static/js/jquery.simpleLens.min.js"></script>
    <script src="/static/js/jquery.magnific-popup.min.js"></script>
    <script src="/static/js/animated-heading.js"></script>
    <script src="/static/js/jquery.ajaxchimp.min.js"></script>
    <script src="/static/js/jquery.countdown.js"></script>
    <script src="/static/js/jquery.meanmenu.js"></script>
    <script src="/static/js/plugins.js"></script>
    <script src="/static/js/main.js"></script>

</body>
</html>

